namespace TodayApp.Services;

public class PreferenceStorage : IPreferenceStorage {
    public void Set(string key, string value) => Preferences.Set(key, value);

    public string Get(string key, string defaultValue) =>
        Preferences.Get(key, defaultValue) ?? defaultValue;
}